import http from "@/utils/http/http";

export default class WelfareBoxService {
    static rechargeWelfareBoxList(params) {
        return http.get("/api/rechargeWelfareBox/list", {params});
    }

    static getConsumeWelfare(params) {
        return http.get("/api/consumeWelfare/list", {params});
    }

    static getRandomList() {
        return http.get("/api/welfareRecord/randomList");
    }

    static getConsumeDetail() {
        return http.get("/api/consume/detail");
    }

    static getSetting(params) {
        return http.get("/api/setting/get",{params});
    }
}

